package com.wedistudio.offliner.search;

import com.wedistudio.offliner.source.slideshare.SlideShareSource;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: melouadi
 * Date: 14/03/13
 * Time: 16:04
 * To change this template use File | Settings | File Templates.
 */
public class Search {
    private final int begin;
    private final int limit;
    private final String keywords;
    private final OrderBy orderBy;

    public Search(String keywords, OrderBy orderBy, int begin, int limit) {
        this.begin = begin;
        this.orderBy = orderBy;
        this.limit = limit;
        this.keywords = keywords;
    }

    public int getBegin() {
        return begin;
    }

    public int getLimit() {
        return limit;
    }

    public String getKeywords() {
        return keywords;
    }

    public OrderBy getOrderBy() {
        return orderBy;
    }

    private static List<Source> SOURCES = new ArrayList<Source>();

    static {
          SOURCES.add(new SlideShareSource());
    }
}
